package com.sumainfor.zuul.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.sumainfor.zuul.entity.SysCompanyEntity;

import java.util.List;
import java.util.Map;

/**
 * @Author Jack Chen
 * @Create 2019-01-22 10:03
 */
public interface SysCompanyMapper extends BaseMapper<SysCompanyEntity> {

    /**
     * 查询转账信息数据
     *
     * @param compId
     * @return
     */
    List<Map<String, Object>> selectAreaAccount(Integer compId);

    /**
     * 插入 归属区域（公司）-线下转账
     * @param params
     * @return
     */
    int insertAreaAccountData(Map<String, Object> params);

    /**
     * 删除 归属区域（公司）-线下转账
     * @param compId
     * @return
     */
    int deleteAreaAccountData(Integer compId);

}
